/** Created by CUIJA on 05-19-2017.*/

var angular = require('angular');

var core = require('../core');

var authRoutes = require('./routes/auth.routes');

var loginController = require('./layouts/login/login.controller');
var registerController = require('./layouts/register/register.controller');
var updateInfoController = require('./layouts/updateInfo/updateInfo.controller');

var merchantService = require('./services/merchant.service');


const moduleName = 'auth';

angular.module(moduleName, [
  core
])
  .config(authRoutes)
  .factory('merchantService', merchantService)


  .controller('loginController',loginController)
  .controller('registerController',registerController)
  .controller('updateInfoController',updateInfoController);


module.exports = moduleName;
